/* This is the basic item class. All items are sub classes of this class
 * but you cannot make an instance of an "Item"
 */

package item;


public abstract class Item {


	private String name; //the name of the item
	private int level; //the level of the item
	private int cost; //the cost of the item
	private int weight; //the weight of the item
	private String spritePath; //the item's sprite path
	private Rarity rarity; //the rarity of the item


	//String int int String Rarity constructor
	public Item(String n, int c, int w, String sP, Rarity r){

		name = n;
		cost = c;
		weight = w;
		spritePath = sP;
		rarity = r;
	}//5 param constructor
	

	//returns the name of the item
	public String getName() {

		return name;
	}//getName


	//returns the level of the item
	public int getlevel(){
		
		return level;
	}//getLevel
	
	
	//returns the cost of the item
	public int getCost() {

		return cost;
	}//getCost


	//returns the weight of the item
	public int getWeight() {

		return weight;
	}//getWeight


	//returns the path of the sprite
	public String getSpritePath() {

		return spritePath;
	}//getSpritePath


	//returns the Rarity of the item
	public Rarity getRarity() {

		return rarity;
	}//getRarity
}//Item
